package com.yazq.mapper;

import com.yazq.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {
    /*
     * 操作数据库
     * @return
     */
    public List<Dept> getDeptInfo();
    public Integer deleteDept(Integer id);
    public Integer addDept(Dept dept);
    public Integer updateDept(Dept dept);
    public Dept getInfoById(Integer id);
}
